package cn.zzqayy.steward.gateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 服务网关
 * @author zzqayy
 * @date 2020-03-28
 */
@EnableCircuitBreaker
@EnableFeignClients
@EnableEurekaClient
@SpringBootApplication
@MapperScan("cn.zzqayy.steward.**.**.mapper")
public class StewardGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(StewardGatewayApplication.class, args);
    }

}
